Translation:

163. Ask them concerning the town standing close by the sea. Behold! they transgressed in the matter of the Sabbath. For on the day of their Sabbath their fish did come to them openly holding up their heads but on the day they had no Sabbath they came not: thus did We make a trial of them for they were given to transgression.

Notes (Tafseer)

1137. Cf. ii. 65 and n. 79. Fishing, like every other activity, was prohibited to Israel on the Sabbath day. As this practice was usually observed, the fish used to come up with a sense of security to their water channels or pools openly on the Sabbath day, but not on other days when fishing was open. This was a great temptation to the law-breakers, which they could not resist. Some of their men of piety protested, but it had no effect. When their transgressions, which we may suppose, extended to other commandments, passed beyond bounds, the punishment came.